-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restored test checking quota exhaustion #15968
Conversation
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
🟢 |
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
@@ -7,8 +7,8 @@ | |||
from ydb.tests.library.harness.kikimr_runner import KiKiMR | |||
from ydb.tests.library.test_meta import link_test_case | |||
|
|||
ROWS_CHUNK_SIZE = 3000000 | |||
ROWS_CHUNKS_COUNT = 100000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А почему тут понадобилось значения менять?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100000 удалений пришлось бы делать, это бы заняло много времени
Изначально предполагалось что на удалениях он будет падать и они выполнятся не все, на самом деле удаления разрешены всегда
|
||
@link_test_case("#13529") | ||
def test(self): | ||
"""As per https://github.com/ydb-platform/ydb/issues/13529""" | ||
self.database_name = '/Root' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вынеси self.database_name
на уровень класса по аналогии с этим примером
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Там в разных тестах разное значение используется, поэтому не стал выносить в класс
}, | ||
) | ||
self.cluster.register_and_start_slots(self.database_name, count=1) | ||
self.cluster.wait_tenant_up(self.database_name) | ||
|
||
# Set soft and hard quotas to 6GB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тут комменатрий стал не актуален про 6 GB, а уменьшил это значение чтобы тест быстрее проходил?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, чтобы быстрее проходил тест
|
||
# Check that deletion works at least first time | ||
# self.delete_test_chunk(session, 'huge', 0) | ||
self.delete_test_chunk(session, table_path, 0) | ||
# ^ uncomment after fixing https://github.com/ydb-platform/ydb/issues/13808 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Комментарий можно убирать?
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
Changelog entry
This test checks that writing are disable after exceeding quota and deletions are always enabled
Changelog category
Description for reviewers
...